package entities;

public class UserEntity {
	private int id = 0;
	private String name = "";
	private String email = "";
	private String password = "";
	private String addr = "";
	private String tel = "";
	private String sex = "未设置";
	private String regTime = null;
	private String origin = "未知";
	private String campus = "未设置";
	private String headImgUrl = "user/images/head/default.jpg";
	private String headImgUrl2 = "user/images/head/default.jpg";
	private String headImgUrl3 = "user/images/head/default.jpg";

	public UserEntity() {
		super();
	}

	public UserEntity(int id, String name, String email, String password,
			String addr, String tel, String sex, String regTime, String origin,
			String campus, String headImgUrl, String headImgUrl2,
			String headImgUrl3) {
		super();
		this.id = id;
		this.name = name;
		this.email = email;
		this.password = password;
		this.addr = addr;
		this.tel = tel;
		this.sex = sex;
		this.regTime = regTime;
		this.origin = origin;
		this.campus = campus;
		this.headImgUrl = headImgUrl;
		this.headImgUrl2 = headImgUrl2;
		this.headImgUrl3 = headImgUrl3;
	}

	public int getId() {
		return id;
	}

	public String getName() {
		return name;
	}

	public String getEmail() {
		return email;
	}

	public String getPassword() {
		return password;
	}

	public String getAddr() {
		return addr;
	}

	public String getTel() {
		return tel;
	}

	public String getSex() {
		return sex;
	}

	public String getRegTime() {
		return regTime;
	}

	public String getOrigin() {
		return origin;
	}

	public String getCampus() {
		return campus;
	}

	public String getHeadImgUrl() {
		return headImgUrl;
	}

	public String getHeadImgUrl2() {
		return headImgUrl2;
	}

	public String getHeadImgUrl3() {
		return headImgUrl3;
	}

	public void setId(int id) {
		this.id = id;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setAddr(String addr) {
		this.addr = addr;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public void setRegTime(String regTime) {
		this.regTime = regTime;
	}

	public void setOrigin(String origin) {
		this.origin = origin;
	}

	public void setCampus(String campus) {
		this.campus = campus;
	}

	public void setHeadImgUrl(String headImgUrl) {
		this.headImgUrl = headImgUrl;
	}

	public void setHeadImgUrl2(String headImgUrl2) {
		this.headImgUrl2 = headImgUrl2;
	}

	public void setHeadImgUrl3(String headImgUrl3) {
		this.headImgUrl3 = headImgUrl3;
	}

	@Override
	public String toString() {
		return "UserEntity [id=" + id + ", name=" + name + ", email=" + email
				+ ", password=" + password + ", addr=" + addr + ", tel=" + tel
				+ ", sex=" + sex + ", regTime=" + regTime + ", origin="
				+ origin + ", campus=" + campus + ", headImgUrl=" + headImgUrl
				+ ", headImgUrl2=" + headImgUrl2 + ", headImgUrl3="
				+ headImgUrl3 + "]";
	}

}
